.class public Lcom/direction/hold/ui/CountActivity;
.super Lcom/direction/hold/ui/SearchActivity;


# static fields
.field public static v:Lcom/direction/hold/ui/CountActivity;


# instance fields
.field A:Z

.field private O:Lcn/cheln/explorer/ui/b;

.field private P:Landroid/view/View;

.field private Q:Ljava/util/List;

.field private R:Z

.field private S:Landroid/view/View;

.field private T:Landroid/view/View;

.field private U:Landroid/view/View;

.field private V:Landroid/view/View;

.field private W:Landroid/view/View;

.field private X:Ljava/util/Map;

.field private Y:Z

.field private Z:Lcn/cheln/explorer/util/MusicBroadcastReceiver;

.field public w:Z

.field x:Lcn/cheln/explorer/ds/scan/ScanUpdateReceiver;

.field y:Lcn/cheln/explorer/util/PackageReceiver;

.field z:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/direction/hold/ui/SearchActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    new-instance v0, Lcom/direction/hold/ui/CountActivity$1;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/CountActivity$1;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity;->z:Landroid/os/Handler;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->A:Z

    iput-boolean v1, p0, Lcom/direction/hold/ui/CountActivity;->Y:Z

    return-void
.end method

.method private M()Lcn/cheln/explorer/ui/b;
    .locals 3

    const-class v0, Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->P:Landroid/view/View;

    invoke-direct {v1, p0, v2, p0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;-><init>(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {p0, v0, v1}, Lcom/direction/hold/ui/CountActivity;->a(Ljava/lang/String;Lcn/cheln/explorer/ui/b;)Lcn/cheln/explorer/ui/b;

    move-result-object v0

    return-object v0
.end method

.method private N()V
    .locals 2

    new-instance v0, Lcom/direction/hold/ui/e;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/e;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    invoke-virtual {v0}, Lcom/direction/hold/ui/e;->start()V

    const-class v0, Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->c(Ljava/lang/String;)Lcn/cheln/explorer/ui/b;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->h:Landroid/view/View;

    invoke-static {v0, v1, p0}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/ui/b;Landroid/view/View;Landroid/app/Activity;)V

    return-void
.end method

.method private a(IILjava/util/List;)I
    .locals 3

    invoke-virtual {p0, p1}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-static {v0, v1}, Lcn/cheln/explorer/ds/database/c;->a(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)Lcn/cheln/explorer/ds/database/a;

    move-result-object v0

    iget-object v1, v0, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    const-string v2, "0"

    iput-object v2, v1, Lcn/cheln/explorer/ds/database/CategoryInfo;->count:Ljava/lang/String;

    iget-object v0, v0, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-interface {p3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const/4 v0, 0x0

    return v0
.end method

.method static synthetic a(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->S:Landroid/view/View;

    return-object p1
.end method

.method static synthetic a(Lcom/direction/hold/ui/CountActivity;)Lcn/cheln/explorer/util/MusicBroadcastReceiver;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->Z:Lcn/cheln/explorer/util/MusicBroadcastReceiver;

    return-object v0
.end method

.method static synthetic a(Lcom/direction/hold/ui/CountActivity;Lcn/cheln/explorer/util/MusicBroadcastReceiver;)Lcn/cheln/explorer/util/MusicBroadcastReceiver;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->Z:Lcn/cheln/explorer/util/MusicBroadcastReceiver;

    return-object p1
.end method

.method static synthetic a(Lcom/direction/hold/ui/CountActivity;Ljava/util/Map;)Ljava/util/Map;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->X:Ljava/util/Map;

    return-object p1
.end method

.method static synthetic b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->S:Landroid/view/View;

    return-object v0
.end method

.method static synthetic b(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->T:Landroid/view/View;

    return-object p1
.end method

.method static synthetic c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->T:Landroid/view/View;

    return-object v0
.end method

.method static synthetic c(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->U:Landroid/view/View;

    return-object p1
.end method

.method static synthetic d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->U:Landroid/view/View;

    return-object v0
.end method

.method static synthetic d(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->V:Landroid/view/View;

    return-object p1
.end method

.method static synthetic e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->V:Landroid/view/View;

    return-object v0
.end method

.method static synthetic e(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->W:Landroid/view/View;

    return-object p1
.end method

.method static synthetic f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->W:Landroid/view/View;

    return-object v0
.end method

.method static synthetic g(Lcom/direction/hold/ui/CountActivity;)Ljava/util/Map;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->X:Ljava/util/Map;

    return-object v0
.end method

.method static synthetic h(Lcom/direction/hold/ui/CountActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->Y:Z

    return v0
.end method


# virtual methods
.method protected final A()V
    .locals 0

    return-void
.end method

.method public final B()Lcn/cheln/explorer/ui/b;
    .locals 1

    const-class v0, Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->c(Ljava/lang/String;)Lcn/cheln/explorer/ui/b;

    move-result-object v0

    return-object v0
.end method

.method public final C()Lcn/cheln/explorer/ui/b;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->O:Lcn/cheln/explorer/ui/b;

    if-nez v0, :cond_0

    const-class v0, Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->c(Ljava/lang/String;)Lcn/cheln/explorer/ui/b;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity;->O:Lcn/cheln/explorer/ui/b;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->O:Lcn/cheln/explorer/ui/b;

    return-object v0
.end method

.method public final D()V
    .locals 3

    const/4 v2, 0x1

    iput-boolean v2, p0, Lcom/direction/hold/ui/CountActivity;->A:Z

    const v0, 0x7f080006

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    return-void
.end method

.method public final E()V
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->p()V

    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->H()V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->j()V

    goto :goto_0
.end method

.method public final F()V
    .locals 3

    sget-object v0, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f050029

    const v1, 0x7f02002b

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CountActivity;->a(IILjava/util/List;)I

    const v0, 0x7f05002b

    const v1, 0x7f02002d

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CountActivity;->a(IILjava/util/List;)I

    const v0, 0x7f05002a

    const v1, 0x7f02004e

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CountActivity;->a(IILjava/util/List;)I

    const v0, 0x7f05002c

    const v1, 0x7f02000d

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CountActivity;->a(IILjava/util/List;)I

    const v0, 0x7f05002d

    const v1, 0x7f020001

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CountActivity;->a(IILjava/util/List;)I

    :cond_1
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->Q:Ljava/util/List;

    invoke-static {v0, v1}, Lcn/cheln/explorer/ds/database/c;->a(Landroid/content/Context;Ljava/util/List;)Ljava/util/Map;

    :cond_2
    invoke-static {p0}, Lcn/cheln/explorer/ds/database/c;->a(Landroid/content/Context;)V

    return-void
.end method

.method public final a(I)V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "apk"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->q:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->q:Landroid/view/View;

    const v1, 0x7f08006d

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->q:Landroid/view/View;

    const v1, 0x7f08006c

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->q:Landroid/view/View;

    const v1, 0x7f080073

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->q:Landroid/view/View;

    const v1, 0x7f080072

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->a(I)V

    return-void
.end method

.method protected final a(Landroid/view/ContextMenu;)V
    .locals 3

    const/4 v2, 0x0

    const v0, 0x7f05009b

    invoke-interface {p1, v0}, Landroid/view/ContextMenu;->setHeaderTitle(I)Landroid/view/ContextMenu;

    const/16 v0, 0x11

    const v1, 0x7f0500ae

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0, v2}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0, v2}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CountActivity$5;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CountActivity$5;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    const/16 v0, 0x1c

    const v1, 0x7f050058

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0, v2}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0, v2}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CountActivity$6;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CountActivity$6;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    return-void
.end method

.method public final a(Lcn/cheln/explorer/beans/FileInfo;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    return-void
.end method

.method public final a(Lcn/cheln/explorer/ds/a/c;III)V
    .locals 0

    return-void
.end method

.method protected final a(Landroid/view/MenuItem;)Z
    .locals 3

    const-string v0, ""

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "---"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-interface {p1}, Landroid/view/MenuItem;->getTitle()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    const/16 v1, 0x64

    sub-int/2addr v0, v1

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->t()Z

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method protected final b(I)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    new-instance v0, Lcn/cheln/explorer/actions/EqualCheck;

    invoke-direct {v0, v2, v2}, Lcn/cheln/explorer/actions/EqualCheck;-><init>(II)V

    sget-object v1, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-static {v1, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    invoke-virtual {v0}, Lcn/cheln/explorer/actions/EqualCheck;->a_()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/FileCursorActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const v1, 0x7f050045

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    move v0, v3

    :goto_0
    if-eqz v0, :cond_0

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0, v2}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->b(Z)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->a:Lcom/direction/hold/ui/SlideActivity;

    iput p1, v0, Lcom/direction/hold/ui/SlideActivity;->c:I

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/FileCursorActivity;->a(I)V

    sget-object v0, Lcom/direction/hold/ui/PathActivity;->v:Lcom/direction/hold/ui/PathActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/PathActivity;->D()V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->a:Lcom/direction/hold/ui/SlideActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/SlideActivity;->d:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-virtual {v0}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->b()V

    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcn/cheln/explorer/util/a;->a(Lcom/direction/hold/ui/CommonActivity;)V

    move v0, v2

    goto :goto_0
.end method

.method protected final b(IILcn/cheln/explorer/ds/a/c;)V
    .locals 1

    if-nez p2, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->setSelection(I)V

    :cond_0
    return-void
.end method

.method protected final b(Lcn/cheln/explorer/beans/FileInfo;)V
    .locals 0

    invoke-static {p1, p0}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/beans/FileInfo;Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->v()V

    return-void
.end method

.method public final b(Lcn/cheln/explorer/ds/a/c;III)V
    .locals 0

    return-void
.end method

.method public final b(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/direction/hold/ui/CountActivity;->Y:Z

    return-void
.end method

.method public final d(I)V
    .locals 1

    const v0, 0x7f080014

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method protected final k()V
    .locals 1

    sget-boolean v0, Lcn/cheln/explorer/config/a;->c:Z

    iput-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->t:Z

    return-void
.end method

.method public final l()V
    .locals 2

    const/4 v1, 0x0

    new-instance v0, Lcn/cheln/explorer/actions/sort/DBSort;

    invoke-direct {v0, v1, v1}, Lcn/cheln/explorer/actions/sort/DBSort;-><init>(II)V

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->R:Z

    sput-object p0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    invoke-direct {p0}, Lcom/direction/hold/ui/CountActivity;->M()Lcn/cheln/explorer/ui/b;

    new-instance v0, Lcom/direction/hold/ui/c;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/c;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    invoke-virtual {v0}, Lcom/direction/hold/ui/c;->start()V

    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .locals 3

    const v2, 0x7f0800b4

    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    invoke-interface {p1}, Landroid/view/Menu;->clear()V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->getMenuInflater()Landroid/view/MenuInflater;

    move-result-object v0

    const/high16 v1, 0x7f07

    invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

    const v0, 0x7f0800ba

    invoke-interface {p1, v0}, Landroid/view/Menu;->removeItem(I)V

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/SubMenu;->size()I

    move-result v1

    invoke-virtual {p0, v0, v1}, Lcom/direction/hold/ui/CountActivity;->a(Landroid/view/Menu;I)V

    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->x:Lcn/cheln/explorer/ds/scan/ScanUpdateReceiver;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->x:Lcn/cheln/explorer/ds/scan/ScanUpdateReceiver;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->y:Lcn/cheln/explorer/util/PackageReceiver;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    sget-object v0, Lcn/cheln/explorer/util/SDcardCheck;->c:Lcn/cheln/explorer/util/SDcardCheck$MediaScannerBroadcast;

    invoke-static {v0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Landroid/content/BroadcastReceiver;)V

    :cond_0
    invoke-super {p0}, Lcom/direction/hold/ui/SearchActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    const/16 v0, 0x52

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Lcom/direction/hold/ui/SearchActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 1

    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->onMenuItemClick(Landroid/view/MenuItem;)Z

    move-result v0

    return v0
.end method

.method public onMenuItemSelected(ILandroid/view/MenuItem;)Z
    .locals 1

    invoke-super {p0, p1, p2}, Lcom/direction/hold/ui/SearchActivity;->onMenuItemSelected(ILandroid/view/MenuItem;)Z

    move-result v0

    return v0
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 1

    invoke-super {p0, p1}, Lcom/direction/hold/ui/SearchActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v0

    return v0
.end method

.method protected onPause()V
    .locals 0

    invoke-super {p0}, Lcom/direction/hold/ui/SearchActivity;->onPause()V

    return-void
.end method

.method public onPrepareOptionsMenu(Landroid/view/Menu;)Z
    .locals 6

    const/16 v5, 0x18

    const/4 v4, 0x0

    const/4 v3, 0x1

    const v2, 0x7f0800b4

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "image"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {p1, v5}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    if-nez v0, :cond_0

    const v0, 0x7f0500aa

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v4, v5, v4, v0}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    move-result-object v0

    const v1, 0x7f020015

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    :cond_0
    :goto_0
    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "AUDIO"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    iget v0, p0, Lcom/direction/hold/ui/CountActivity;->D:I

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/direction/hold/ui/CountActivity;->D:I

    if-ne v0, v3, :cond_2

    :cond_1
    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    const v1, 0x7f0800b6

    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0, v3}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    :cond_2
    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    const v1, 0x7f0800b9

    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcn/cheln/explorer/ds/a/c;

    iget-object v1, p0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    const-string v2, "apk"

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_6

    move v1, v3

    :goto_1
    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    :cond_3
    return v3

    :cond_4
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->b()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "audio"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/SubMenu;->size()I

    move-result v1

    invoke-virtual {p0, v0, v1}, Lcom/direction/hold/ui/CountActivity;->a(Landroid/view/Menu;I)V

    :cond_5
    invoke-interface {p1, v5}, Landroid/view/Menu;->removeItem(I)V

    goto/16 :goto_0

    :cond_6
    move v1, v4

    goto :goto_1
.end method

.method protected onResume()V
    .locals 6

    const-string v5, "ISDELETED"

    const-string v4, "ApkRememberedPage"

    const-string v3, ""

    invoke-super {p0}, Lcom/direction/hold/ui/SearchActivity;->onResume()V

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "======== categoryVisitFlag "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-boolean v1, p0, Lcom/direction/hold/ui/CountActivity;->R:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->R:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const-string v1, "ApkRememberedPage"

    const-string v1, "ISDELETED"

    const-class v1, Ljava/lang/String;

    invoke-static {v0, v4, v5, v1}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcn/cheln/explorer/beans/FileInfo;

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-direct {v0, v1, v2}, Lcn/cheln/explorer/beans/FileInfo;-><init>(Ljava/io/File;Landroid/content/Context;)V

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0, v1}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/beans/FileInfo;Landroid/content/Context;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->C:Lcn/cheln/explorer/ui/b;

    invoke-virtual {v0}, Lcn/cheln/explorer/ui/b;->d()V

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const-string v1, "ApkRememberedPage"

    const-string v1, "ISDELETED"

    const-string v1, ""

    invoke-static {v0, v4, v5, v3}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V

    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "======== categoryVisitFlag after "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-boolean v1, p0, Lcom/direction/hold/ui/CountActivity;->R:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_2
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->R:Z

    goto :goto_0
.end method

.method public final p()V
    .locals 1

    new-instance v0, Lcom/direction/hold/ui/d;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/d;-><init>(Lcom/direction/hold/ui/CountActivity;)V

    invoke-virtual {v0}, Lcom/direction/hold/ui/d;->start()V

    invoke-direct {p0}, Lcom/direction/hold/ui/CountActivity;->N()V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->h:Landroid/view/View;

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity;->M:Landroid/view/View;

    return-void
.end method

.method public final s()Ljava/lang/String;
    .locals 4

    const-string v0, ""

    const/4 v1, 0x0

    move-object v2, v0

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0, v1}, Ljava/util/Stack;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    if-eqz v0, :cond_1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " / "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->c:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    add-int/lit8 v1, v1, 0x1

    move-object v2, v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x3

    invoke-virtual {v2, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_1
    move-object v0, v2

    goto :goto_1
.end method

.method public setPageView(Landroid/view/View;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity;->P:Landroid/view/View;

    return-void
.end method

.method protected final t()Z
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->A:Z

    if-nez v0, :cond_3

    :cond_0
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->a(I)V

    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->A:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->K:Lcn/cheln/explorer/ui/SearchListViewHolder;

    invoke-virtual {v0}, Lcn/cheln/explorer/ui/SearchListViewHolder;->e()V

    invoke-direct {p0}, Lcom/direction/hold/ui/CountActivity;->M()Lcn/cheln/explorer/ui/b;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->h:Landroid/view/View;

    invoke-static {v0, v1, p0}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/ui/b;Landroid/view/View;Landroid/app/Activity;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->J()Landroid/widget/EditText;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->J()Landroid/widget/EditText;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->N:Landroid/text/TextWatcher;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->removeTextChangedListener(Landroid/text/TextWatcher;)V

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    :goto_0
    move v0, v2

    :goto_1
    return v0

    :cond_1
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    :cond_2
    invoke-direct {p0}, Lcom/direction/hold/ui/CountActivity;->N()V

    goto :goto_0

    :cond_3
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public final u()V
    .locals 7

    const/4 v2, -0x1

    const/4 v6, 0x1

    const/4 v5, 0x0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/config/Constants$CateContants;->a:Ljava/util/Map;

    invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ltz v1, :cond_1

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    :goto_0
    if-eq v0, v2, :cond_3

    sget-object v0, Lcn/cheln/explorer/util/SDcardCheck$MediaScannerBroadcast;->a:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const v2, 0x7f050077

    new-array v3, v6, [Ljava/lang/Object;

    sget-object v4, Lcn/cheln/explorer/util/SDcardCheck$MediaScannerBroadcast;->a:Ljava/lang/String;

    aput-object v4, v3, v5

    invoke-virtual {v1, v2, v3}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    :goto_1
    return-void

    :cond_1
    move v0, v2

    goto :goto_0

    :cond_2
    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    iput-boolean v5, v0, Lcom/direction/hold/ui/CountActivity;->Y:Z

    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.MEDIA_MOUNTED"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "file://"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity;->sendBroadcast(Landroid/content/Intent;)V

    sput-boolean v6, Lcn/cheln/explorer/util/SDcardCheck;->b:Z

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->c:Ljava/lang/String;

    sput-object v0, Lcn/cheln/explorer/util/SDcardCheck$MediaScannerBroadcast;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const v2, 0x7f050076

    new-array v3, v6, [Ljava/lang/Object;

    sget-object v4, Lcn/cheln/explorer/util/SDcardCheck$MediaScannerBroadcast;->a:Ljava/lang/String;

    aput-object v4, v3, v5

    invoke-virtual {v1, v2, v3}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :cond_3
    new-instance v1, Landroid/content/Intent;

    const-class v0, Lcn/cheln/explorer/ds/scan/ScanService;

    invoke-direct {v1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "scan_type"

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/direction/hold/ui/CountActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto :goto_1
.end method

.method public final v()V
    .locals 1

    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity;->A:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/direction/hold/ui/CountActivity;->N()V

    goto :goto_0

    :cond_2
    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->G()Lcn/cheln/explorer/ui/b;

    move-result-object v0

    invoke-virtual {v0}, Lcn/cheln/explorer/ui/b;->d()V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->j()V

    goto :goto_0
.end method

.method public final x()V
    .locals 0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CountActivity;->v()V

    return-void
.end method

.method public final y()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, p0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "doc"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "apk"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "audio"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    const-string v0, "*/*"

    :goto_0
    return-object v0

    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "/*"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method protected final z()Ljava/lang/String;
    .locals 4

    const v0, 0x7f050006

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    const v3, 0x7f050057

    invoke-virtual {p0, v3}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/direction/hold/ui/CountActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
